Fund

Funds an account

With this endpoint a user can create and fund an account. Depending on the configured funding backend, this may do different things under the hood (e.g. minting vs transferring) and have different funding semantics (e.g. whether it will fund an account if it already exists).

post/fund

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /fund
  • Auth
    none declared

Request body

amountinteger

If not set, the default is the preconfigured max funding amount. If set, we will use this amount instead assuming it is < than the maximum, otherwise we'll just use the maximum.

auth_keystring

Either this or address / pub_key must be provided.

addressstring

Either this or auth_key / pub_key must be provided.

pub_keystring

Either this or auth_key / address must be provided.

Response

txn_hashesstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.