Saltar al contenido principal
POST
/
transferTokens
Transfer LPT tokens
curl --request POST \
  --url http://localhost:5935/transferTokens \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "0x1234567890abcdef1234567890abcdef12345678",
  "amount": "1000000000000000000"
}
'
{
  "txHash": "0x...",
  "status": "success"
}

Cuerpo

application/json
to
string
requerido

Recipient address

Ejemplo:

"0x1234567890abcdef1234567890abcdef12345678"

amount
string
requerido

Amount of LPT to transfer (in wei)

Ejemplo:

"1000000000000000000"

Respuesta

200 - application/json

Transfer successful

txHash
string

Transaction hash

Ejemplo:

"0x..."

status
string

Transaction status

Ejemplo:

"success"

Last modified on March 1, 2026