@@ -12861,7 +12861,7 @@ paths:
1286112861 /api/go-staking/v1/{coin}/accounts/{accountId}/requests/{requestId}:
1286212862 get:
1286312863 tags:
12864- - Go Account Staking
12864+ - Go Account Staking (beta)
1286512865 summary: Get staking request for Go Account
1286612866 description: Get a specific staking request for a given asset and Go Account.
1286712867 operationId: v1.goStaking.request.getById
@@ -12889,7 +12889,7 @@ paths:
1288912889 /api/go-staking/v1/{coin}/accounts/{accountId}/requests:
1289012890 get:
1289112891 tags:
12892- - Go Account Staking
12892+ - Go Account Staking (beta)
1289312893 summary: List staking requests by asset for Go Account
1289412894 description: List all staking requests for a given asset and Go Account.
1289512895 operationId: v1.goStaking.request.listByCoinAndAccount
@@ -12920,7 +12920,7 @@ paths:
1292012920 /api/go-staking/v1/accounts/{accountId}/rewards:
1292112921 get:
1292212922 tags:
12923- - Go Account Staking
12923+ - Go Account Staking (beta)
1292412924 summary: List staking rewards for Go Account
1292512925 description: List all staking rewards for a given Go Account.
1292612926 operationId: v1.goStaking.rewards.listByAccount
@@ -12948,7 +12948,7 @@ paths:
1294812948 /api/go-staking/v1/{coin}/accounts/{accountId}/rewards:
1294912949 get:
1295012950 tags:
12951- - Go Account Staking
12951+ - Go Account Staking (beta)
1295212952 summary: List staking rewards by asset for Go Account
1295312953 description: List all staking rewards for a given asset and Go Account.
1295412954 operationId: v1.goStaking.rewards.listByAccountAndCoin
@@ -12977,7 +12977,7 @@ paths:
1297712977 /api/go-staking/v1/accounts/{accountId}/requests:
1297812978 get:
1297912979 tags:
12980- - Go Account Staking
12980+ - Go Account Staking (beta)
1298112981 summary: List staking requests for Go Account
1298212982 description: List all staking requests for a given Go Account.
1298312983 operationId: v1.goStaking.request.listByAccount
@@ -13007,7 +13007,7 @@ paths:
1300713007 /api/go-staking/v1/{coin}/accounts/{accountId}/requests/preview:
1300813008 post:
1300913009 tags:
13010- - Go Account Staking
13010+ - Go Account Staking (beta)
1301113011 summary: Generate staking request for Go Account
1301213012 description: Generate an unsigned staking request to preview for a given asset and Go Account. Use only for stake requests - don't use for unstaking requests.
1301313013 operationId: v1.goStaking.request.preview
@@ -13045,7 +13045,7 @@ paths:
1304513045 /api/go-staking/v1/{coin}/accounts/{accountId}/requests/finalize:
1304613046 post:
1304713047 tags:
13048- - Go Account Staking
13048+ - Go Account Staking (beta)
1304913049 summary: Finalize staking request for Go Account
1305013050 description: Create a finalized staking request based on previously previewed data for a given asset and Go Account.
1305113051 operationId: v1.goStaking.request.finalize
@@ -13089,7 +13089,7 @@ paths:
1308913089 /api/go-staking/v1/accounts/{accountId}/coins:
1309013090 get:
1309113091 tags:
13092- - Go Account Staking
13092+ - Go Account Staking (beta)
1309313093 summary: List staking wallets for Go Account
1309413094 description: List all staking wallets associated with a given Go Account.
1309513095 operationId: v1.goStaking.wallet.listByAccountId
@@ -13115,7 +13115,7 @@ paths:
1311513115 /api/go-staking/v1/{coin}/accounts/{accountId}/attributes:
1311613116 get:
1311713117 tags:
13118- - Go Account Staking
13118+ - Go Account Staking (beta)
1311913119 summary: Get staking wallet attributes for Go Account
1312013120 description: Get staking wallet attributes for a given asset and Go Account.
1312113121 operationId: v1.goStaking.wallet.getAttributesByCoinAndAccount
@@ -28054,6 +28054,7 @@ paths:
2805428054 - $ref: '#/components/schemas/EthStakingRequestPOSTBody'
2805528055 - $ref: '#/components/schemas/EthUnStakingRequestPOSTBody'
2805628056 - $ref: '#/components/schemas/EthUnStakingRequestPOSTBodyPrePectra'
28057+ - $ref: '#/components/schemas/FlrPStakingRequestPOSTBody'
2805728058 - $ref: '#/components/schemas/HashStakingRequestPOSTBody'
2805828059 - $ref: '#/components/schemas/HashUnStakingRequestPOSTBody'
2805928060 - $ref: '#/components/schemas/InjectiveStakingRequestPOSTBody'
@@ -28213,6 +28214,8 @@ paths:
2821328214 $ref: '#/components/examples/EthUnStakingRequestPOSTBodyExamplePrePectraSingle'
2821428215 EthUnStakingRequestPOSTBodyExamplePrePectraMultiple:
2821528216 $ref: '#/components/examples/EthUnStakingRequestPOSTBodyExamplePrePectraMultiple'
28217+ FlrPStakingRequestPOSTBodyExample:
28218+ $ref: '#/components/examples/FlrPStakingRequestPOSTBodyExample'
2821628219 HashStakingRequestPOSTBodyExample:
2821728220 $ref: '#/components/examples/HashStakingRequestPOSTBodyExample'
2821828221 HashUnStakingRequestPOSTBodyExample:
@@ -28417,6 +28420,8 @@ paths:
2841728420 $ref: '#/components/examples/EthStakingRequestWithoutDelegationsExample'
2841828421 EthUnStakingRequestWithoutDelegationsExample:
2841928422 $ref: '#/components/examples/EthUnStakingRequestWithoutDelegationsExample'
28423+ FlrPStakingRequestWithoutDelegationsExample:
28424+ $ref: '#/components/examples/FlrPStakingRequestWithoutDelegationsExample'
2842028425 HashStakingRequestWithoutDelegationsExample:
2842128426 $ref: '#/components/examples/HashStakingRequestWithoutDelegationsExample'
2842228427 HashUnStakingRequestWithoutDelegationsExample:
@@ -29482,6 +29487,12 @@ paths:
2948229487 type: array
2948329488 items:
2948429489 $ref: '#/components/schemas/DelegationStatus'
29490+ - name: validatorAddress
29491+ in: query
29492+ description: Validator address to filter results by. Expect 1 item only.
29493+ required: false
29494+ schema:
29495+ type: string
2948529496 responses:
2948629497 '200':
2948729498 description: Successful Retrieving Staking Validators For A Wallet
@@ -41735,6 +41746,34 @@ components:
4173541746 isIntraJXTransfer: false
4173641747 payload: '{"coin":"ofctsol","recipients":[{"address":"BpkMFStkryPDkVYqTbEGLqWD3FLoPLCwTV4sdN1XKBPF","amount":"3000000"}],"fromAccount":"62182dc6685f820007002502234b4dfc","nonce":"2d876188-d8e7-4a32-924b-3b8ab5d7aa99","timestamp":"2025-08-12T18:43:36.210Z","feeString":"0","shortCircuitBlockchainTransfer":false,"isIntraJXTransfer":false}'
4173741748 signature: 20d491740f989049aa42f819f6f24d6d4063f168c304e61c1a7b837d532c95faac244cbb30a70f0a3b745053adb9d6f8e6db472ece4dbf39de08659180fe6eb4b3
41749+ FlrPStakingRequestPOSTBodyExample:
41750+ summary: FLRP Staking Request POST Body Example
41751+ value:
41752+ clientId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf
41753+ amount: '50000000000000'
41754+ type: STAKE
41755+ validator: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7
41756+ durationSeconds: 2592000
41757+ rewardAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
41758+ FlrPStakingRequestWithoutDelegationsExample:
41759+ summary: FLRP Staking Request Example
41760+ value:
41761+ id: f1234567-89ab-4cde-9012-3456789abcde
41762+ clientId: h1i2j3k4-5678-90ab-cdef-1234567890ab
41763+ requestingUserId: 6092e75c451052000636831deb797bd1
41764+ type: STAKE
41765+ enterpriseId: 61c0ff41174c4e0007ae78b2a0bea1ec
41766+ walletId: 63110fc78b108e00071df2d3c3879dd0
41767+ walletType: hot
41768+ withdrawalAddress: P-flare1q8k8ehv0yx3lkn2f0j0y5rjkx6s0tk4lp12345
41769+ coin: flrp
41770+ status: NEW
41771+ statusModifiedDate: 2025-09-08T14:00:00.000Z
41772+ createdDate: 2025-09-08T14:00:00.000Z
41773+ amount: '50000000000000'
41774+ validator: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7
41775+ durationSeconds: 2592000
41776+ rewardAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
4173841777 HashStakingRequestPOSTBodyExample:
4173941778 summary: Hash Staking Request POST Body Example
4174041779 value:
@@ -51917,6 +51956,7 @@ components:
5191751956 - DOT
5191851957 - EIGEN
5191951958 - ETH
51959+ - FLRP
5192051960 - HASH
5192151961 - INJECTIVE
5192251962 - MATIC
@@ -53872,6 +53912,7 @@ components:
5387253912 - $ref: '#/components/schemas/EigenLikeDelegationProperties'
5387353913 - $ref: '#/components/schemas/MaticLikeDelegationProperties'
5387453914 - $ref: '#/components/schemas/WflrDelegationProperties'
53915+ - $ref: '#/components/schemas/FlrPDelegationProperties'
5387553916 - $ref: '#/components/schemas/WctDelegationProperties'
5387653917 - $ref: '#/components/schemas/VetDelegationProperties'
5387753918 - $ref: '#/components/schemas/TrxDelegationProperties'
@@ -53909,6 +53950,7 @@ components:
5390953950 - BTC
5391053951 - WCT
5391153952 - WFLR
53953+ - FLRP
5391253954 - COREDAO
5391353955 - BERA
5391453956 - TAO
@@ -58702,6 +58744,127 @@ components:
5870258744 required:
5870358745 - name
5870458746 - $ref: '#/components/schemas/ActiveDateRange'
58747+ FlrPDelegationProperties:
58748+ title: FLRP Delegation Properties
58749+ allOf:
58750+ - $ref: '#/components/schemas/DelegationProperties'
58751+ - type: object
58752+ required:
58753+ - validator
58754+ - durationSeconds
58755+ properties:
58756+ validator:
58757+ type: string
58758+ description: P-Chain validator NodeID.
58759+ durationSeconds:
58760+ type: string
58761+ format: bigInteger
58762+ description: Duration of the delegation in seconds.
58763+ startTime:
58764+ type: string
58765+ format: bigInteger
58766+ description: Start time of the delegation in epoch seconds.
58767+ endTime:
58768+ type: string
58769+ format: bigInteger
58770+ description: End time of the delegation in epoch seconds.
58771+ rewardAddress:
58772+ type: string
58773+ description: C-Chain address where rewards are sent.
58774+ FlrPStakingDelegation:
58775+ title: FLRP Staking Delegation
58776+ allOf:
58777+ - $ref: '#/components/schemas/StakingDelegation'
58778+ - type: object
58779+ description: Flare P-Chain staking delegation.
58780+ properties:
58781+ durationSeconds:
58782+ type: string
58783+ description: Duration of the delegation in seconds (stringified bigint).
58784+ startTime:
58785+ type: string
58786+ description: Start time of the delegation in epoch seconds (stringified bigint).
58787+ endTime:
58788+ type: string
58789+ description: End time of the delegation in epoch seconds (stringified bigint).
58790+ unstakeable:
58791+ type: boolean
58792+ description: Indicates whether the delegation can currently be unstaked (always false for FlrP auto-unstaking).
58793+ permissionAttributes:
58794+ $ref: '#/components/schemas/WalletStakingPermissionAttributes'
58795+ FlrPStakingRequest:
58796+ title: FLRP
58797+ allOf:
58798+ - $ref: '#/components/schemas/StakingRequest1'
58799+ type: object
58800+ properties:
58801+ delegations:
58802+ type: array
58803+ minItems: 1
58804+ maxItems: 1
58805+ items:
58806+ $ref: '#/components/schemas/FlrPStakingDelegation'
58807+ transactions:
58808+ type: array
58809+ minItems: 1
58810+ maxItems: 500
58811+ items:
58812+ $ref: '#/components/schemas/BaseStakingTransaction'
58813+ amount:
58814+ description: Amount to stake in base units (nanoFLR). 1 FLR = 1,000,000,000 nanoFLR. Minimum 50,000 FLR.
58815+ type: string
58816+ validator:
58817+ type: string
58818+ durationSeconds:
58819+ description: The staking duration in seconds.
58820+ type: integer
58821+ rewardAddress:
58822+ description: The C-Chain address where rewards will be sent.
58823+ type: string
58824+ required:
58825+ - validator
58826+ - durationSeconds
58827+ FlrPStakingRequestPOSTBody:
58828+ title: FLRP stake
58829+ description: |
58830+ Request to stake FLR tokens on the Flare P-Chain.
58831+
58832+ **P-Chain Staking:** FlrP uses Flare's P-Chain for delegation-based staking:
58833+ - Stake FLR tokens to selected P-Chain validators
58834+ - Duration-based staking (14-365 days)
58835+ - Rewards distributed to corresponding C-Chain address
58836+ - Auto-unstaking at the end of staking period
58837+
58838+ **Key Features:**
58839+ - C-Chain to P-Chain address derivation (same public key)
58840+ - Configurable staking duration (14 days to 1 year)
58841+ - Gas fees paid in native FLR tokens
58842+ allOf:
58843+ - $ref: '#/components/schemas/StakingRequestPOSTBody'
58844+ type: object
58845+ properties:
58846+ amount:
58847+ description: Amount to stake in base units (nanoFLR). Minimum 50,000 FLR.
58848+ type: string
58849+ example: '50000000000000'
58850+ validator:
58851+ description: P-Chain validator NodeID to delegate to.
58852+ type: string
58853+ example: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7
58854+ durationSeconds:
58855+ description: The staking duration in seconds. Must be between 14 days (1209600) and 365 days (31536000).
58856+ type: integer
58857+ minimum: 1209600
58858+ maximum: 31536000
58859+ example: 2592000
58860+ rewardAddress:
58861+ description: C-Chain address to receive staking rewards.
58862+ type: string
58863+ example: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
58864+ required:
58865+ - amount
58866+ - validator
58867+ - durationSeconds
5870558868 Freeze:
5870658869 title: Freeze
5870758870 type: object
@@ -60328,23 +60491,33 @@ components:
6032860491 - status
6032960492 - goAccountId
6033060493 - amount
60331- - stakingRequests
6033260494 - createdDate
6033360495 - properties
6033460496 properties:
6033560497 id:
6033660498 type: string
6033760499 format: uuid
60500+ clientId:
60501+ type: string
6033860502 status:
6033960503 $ref: '#/components/schemas/GlobalGoStakingRequestStatus'
60504+ type:
60505+ $ref: '#/components/schemas/StakingRequestType'
60506+ coin:
60507+ type: string
6034060508 goAccountId:
6034160509 type: string
60510+ error:
60511+ type: string
6034260512 amount:
6034360513 type: string
6034460514 format: big-integer
6034560515 createdDate:
6034660516 type: string
6034760517 format: date-time
60518+ statusModifiedDate:
60519+ type: string
60520+ format: date-time
6034860521 properties:
6034960522 $ref: '#/components/schemas/GoStakingRequestProperties'
6035060523 GoStakingRequestProperties:
@@ -73220,6 +73393,7 @@ components:
7322073393 - AVAXC_UNSTAKE
7322173394 - WFLR_STAKE
7322273395 - WFLR_UNSTAKE
73396+ - FLRP_STAKE
7322373397 - SOMI_STAKE
7322473398 - STORY_STAKE
7322573399 - VET_STAKE
@@ -73268,6 +73442,7 @@ components:
7326873442 - $ref: '#/components/schemas/WethStakingRequest'
7326973443 - $ref: '#/components/schemas/ZetaStakingRequest'
7327073444 - $ref: '#/components/schemas/WflrStakingRequest'
73445+ - $ref: '#/components/schemas/FlrPStakingRequest'
7327173446 StakingRequestStatus:
7327273447 title: Staking Request Status
7327373448 description: The status of the staking request. For ETH the status will change from NEW to READY when a validator has been assigned to the wallet's address.
@@ -73290,6 +73465,15 @@ components:
7329073465 - DELAYED_WARMUP
7329173466 - ETH_PARTIAL_EXITED
7329273467 - ETH_EXITED
73468+ StakingRequestType:
73469+ type: string
73470+ enum:
73471+ - STAKE
73472+ - UNSTAKE
73473+ - UNSUPPORTED
73474+ default: STAKE
73475+ description: |
73476+ Type of staking request. `STAKE` to delegate, `UNSTAKE` to undelegate. `UNSUPPORTED` is a fallback.
7329373477 StakingRequestType1:
7329473478 title: Staking Request Type
7329573479 description: The type of staking request.
0 commit comments